package com.bruce.shop.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author BruceXia
 * @version 1.0.0
 * @description:用户实体类
 * @date 2022/9/1718:48
 */
@Data

public class User {
    //用户id
    private Integer id;
    //用户名
    private String username;

    //用户密码
    @JSONField(name = "password")
    private String pass;
    //用户年龄
    private Integer age;
    //用户性别
    private Integer sex;
    //用户邮箱
    private String email;
    //用户状态
    private Integer statu;
    //用户创建时间
    private Date createTime;
    //用户激活码
    private String activeCode;
}
